using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class TalentHS : TalentBasic
{
    public float healthratio;
    public float speedratio;
    public override void OnClick()
    {
        if (PlayerData.coninsfortalent > 0)
        {
            PlayerData.speedratioatio += speedratio;
            PlayerData.healthratio += healthratio;
            //Debug.Log("Button Clicked. ClickHandler.");
            base.OnClick();
        }
    }
}
